{include file=$header_start}
{include file=$header_end}
{strip}
<link rel="stylesheet" type="text/css" href="{$siteroot}/templates/default/style/dashboard.css">
{/strip}

<section class="middle_portion">
	<section class="inner_head">Dashboard</section>
    <section class="inner_containstart">
    	<!-- dashboard Left Content Start -->
        	<!-- dashboard Left Content Start -->
        	{include file=$cms_left_content}
        <!-- dashboard Left Content End -->
        <!-- dashboard Right Content Start -->
        	<section class="dash_right">
            	<section class="title_box">
                    <h4>Message View Detail</h4>
                   <section class="clear"></section>
                </section>
              
				<section class="tab_wrapp" id="tabs">
                           <section class="tab_nav">
                                <ul>
                                    <li><a href="{$siteroot}/myaccount/mymessages/" {if $smarty.get.id3 eq 'inbox'} class="active" {/if}>Inbox</a></li>
                                    <li><a href="{$siteroot}/myaccount/mysentmessages/" {if $smarty.get.id3 eq 'sent'}class="active" {/if}>Sent Item</a></li>
                                    <li><a href="{$siteroot}/myaccount/message_reply/">Compose</a></li>
                                    <section class="clear"></section>
                                </ul>                                
                            </section>
                            <section class="tab_des_wrapp" id="inbox">
                           		<section class="inbox_wrapp">                                
                                	<dl>
                                    	<section class="white_box">
                                        	<section class="img_box">
                                            {if $receiverDetArr.user_avatar neq ''}
                                            	<img src="{$siteroot}/includes/image.php?width=58&amp;height=58&amp;image={$siteroot}/uploads/user/{$receiverDetArr.user_avatar}" />
                                            {else} 
                                            	<img src="{$siteroot}/templates/default/images/upload/featredtrade_img3.jpg" width="58" height="58" title="User Name" alt="User Name" />   
                                            {/if}  
											</section>
                                            <section class="inbox_txt_box">
                                            	<section class="msg_title"><a href="javascript:;" style=" cursor:default;">{$receiverDetArr.first_name|ucfirst} {$receiverDetArr.last_name|ucfirst}</a> {$msgArray.ago} </section>
                                                <article style="margin-top:10px;"><b>Subject</b>: {$msgArray.subject|stripslashes|strip}</article>
                                                <article><b>Message</b>: {$msgArray.message|stripslashes|strip}</article>
                                            </section>
                                            <section class="replay_box">
                                            {if $smarty.get.id3 eq 'inbox'}
                                            	<section class="close"><a href="{$siteroot}/myaccount/{$page}/mymessages/">Back</a></section>
                                            {else}
                                            	<section class="close"><a href="{$siteroot}/myaccount/{$page}/mysentmessages/">Back</a></section>
                                            {/if}   
                                            </section>
                                            <section style="padding-left:200px;">
                                            <input type="button" class="org_btn" name="reply" id="reply"  onclick="window.location.href='{$siteroot}/myaccount/{$smarty.get.id1}/message_reply/'" value="Reply"  />
                                            </section>
                                            <section class="clear"></section>
                                        </section>
                                    </dl>
								
				                
                                </section>
                                </section>
                           </section>                        
            </section>
        <!-- dashboard Right Content End -->
        	<section class="clear"></section>
    </section>
</section>


{include file=$footer}